﻿namespace KaroEngine.Exceptions
{
    public class InvalidTilePositionException : InvalidMoveException
    {
        public InvalidTilePositionException()
                : base("Invalid tile position")
        {
        }

        public InvalidTilePositionException(Move move)
            : base("Invalid tile position when moving from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}